<template>
  <div>
		<el-form ref="form" :model="form" label-width="80px">
		  <el-form-item label="学号">
		    <el-input v-model="form.sno"></el-input>
		  </el-form-item>
			<el-button type="primary" @click="getInput()">查询</el-button>
		</el-form>
  </div>
</template>

<script>

export default {
  name: 'App',
  components: {
  },
	data() {
		return {
			form: {
				sno: '200101',
			}
		}
	},
	methods: {
		getInput() {
			this.axios.post('http://localhost:8081/info/select',{sno:this.form.sno})
			.then((response)=>{
			    console.log(response)
			})
		},
	}
}
</script>

<style>
</style>
